package com.yang.frost.blueberry.weixin.service;

import com.yang.frost.blueberry.weixin.params.WxBaseParam;

import java.util.Map;

/**
 * @author 10296
 * @date 2021/4/14
 * @Description:
 */
public interface WxMenuService {
    /**
     * 创建菜单
     *
     * @param param params
     * @return ''
     * @throws Exception e
     */
    Map<String, Object> createMenu(WxBaseParam param) throws Exception;

    /**
     * 查询菜单
     *
     * @param param params
     * @return ''
     * @throws Exception e
     */
    Map<String, Object> getCurrentSelfMenuInfo(WxBaseParam param) throws Exception;

    /**
     * 删除菜单
     *
     * @param param params
     * @return ''
     * @throws Exception e
     */
    Map<String, Object> deleteMenu(WxBaseParam param) throws Exception;

    /**
     * 创建个性化菜单
     *
     * @param param params
     * @return ''
     * @throws Exception e
     */
    Map<String, Object> addConditionalMenu(WxBaseParam param) throws Exception;

    /**
     * 删除个性化菜单
     *
     * @param param params
     * @return ''
     * @throws Exception e
     */
    Map<String, Object> delConditionalMenu(WxBaseParam param) throws Exception;

    /**
     * 测试个性化菜单匹配结果
     *
     * @param param params
     * @return ''
     * @throws Exception e
     */
    Map<String, Object> tryMatchMenu(WxBaseParam param) throws Exception;

}
